<?php
/**
 * Created by PhpStorm.
 * User: ChenJulong
 * Date: 2019/9/29
 * Time: 16:17
 */


namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;


class MemberDocModel extends BaseModel
{
    public $table = 'article_agreement';
    public $primaryKey = 'id';
    public $timestamps = false;

    public static function get_by_id($id)
    {
        $data = self::where('id', $id)->first();
        return $data;
    }
}
